package com.shanwen.select.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanwen.select.entity.Role;
import com.shanwen.select.entity.RoleMenu;

import java.util.List;
import java.util.Map;

public interface RoleMapper extends BaseMapper<Role> {

    int insertRole(Role entity);

    void insertRoleMenu(List<RoleMenu> list);

    void deleteRoleMenu(Integer roleId);
}
